<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增任务设置')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-tasksetting-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">超时时间 单位秒：</label>
                <div class="col-sm-8">
                    <input name="overtimeTime" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">点赞 消耗能量：</label>
                <div class="col-sm-8">
                    <input name="greatConsume" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">点赞 最小发布量：</label>
                <div class="col-sm-8">
                    <input name="greatMinnum" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">点赞 奖励能量：</label>
                <div class="col-sm-8">
                    <input name="greatReward" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">点赞加速 消耗能量：</label>
                <div class="col-sm-8">
                    <input name="greatSpeed" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">点赞加速 单个消耗能量：</label>
                <div class="col-sm-8">
                    <input name="greatSpeedone" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">评论 消耗能量：</label>
                <div class="col-sm-8">
                    <input name="commentConsume" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">评论 最小发布量：</label>
                <div class="col-sm-8">
                    <input name="commentMinnum" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">评论 奖励能量：</label>
                <div class="col-sm-8">
                    <input name="commentReward" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">评论加速 消耗能量：</label>
                <div class="col-sm-8">
                    <input name="commentSpeed" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">评论加速 单个消耗能量：</label>
                <div class="col-sm-8">
                    <input name="commentSpeedone" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">关注 消耗能量：</label>
                <div class="col-sm-8">
                    <input name="attentionConsume" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">关注 最小发布量：</label>
                <div class="col-sm-8">
                    <input name="attentionMinnum" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">关注 奖励能量：</label>
                <div class="col-sm-8">
                    <input name="attentionReward" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">关注加速 消耗能量：</label>
                <div class="col-sm-8">
                    <input name="attentionSpeed" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">关注加速 单个消耗能量：</label>
                <div class="col-sm-8">
                    <input name="attentionSpeedone" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">播放量 单个消耗数量：</label>
                <div class="col-sm-8">
                    <input name="playConsume" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">播放量 发布最小数量：</label>
                <div class="col-sm-8">
                    <input name="playMinnum" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">播放量 api地址：</label>
                <div class="col-sm-8">
                    <input name="playApi" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">播放量 api参数：</label>
                <div class="col-sm-8">
                    <input name="playPara" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户获取任务量：</label>
                <div class="col-sm-8">
                    <input name="userObtain" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">用户发布任务量：</label>
                <div class="col-sm-8">
                    <input name="userRelease" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">vip获取任务量：</label>
                <div class="col-sm-8">
                    <input name="vipObtain" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">vip发布任务量：</label>
                <div class="col-sm-8">
                    <input name="vipRelease" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "whzj/tasksetting"
        $("#form-tasksetting-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-tasksetting-add').serialize());
            }
        }
    </script>
</body>
</html>